package design.pattern;

import java.util.*;

public class Test {
    public static void main(String[] args) throws Exception {
        String s = "你猜";
        System.out.println(s.length());

        List<String> list = new ArrayList<>();
        List<String> list2 = new ArrayList<>();
        list.add("1");
        list.add("2");
        list.add("3");
        list.add("1");
        list2.add("4");
        Set<String> set = new HashSet<>();
        set.add("1");
        set.add("2");
        set.add("3");
        set.add("4");
        boolean b = list.containsAll(set);

        System.out.println(b);
        System.out.println(list);
    }
}

